﻿namespace ClassLibrary.DataLayer.DataObjects
{
    using ClassLibrary.BusinessLayer.BusinessObjects;
    using System;
    using System.Collections.Generic;
    using System.Data;
    using System.Data.Common;

    public interface IProcedureTmpltDAO
    {
        bool DeleteProcedureTmplt(ProcedureTmplt clsProcedureTmplt);
        IList<ProcedureTmplt> GetProcedureTmplt(ProcedureTmplt clsProcedureTmplt);
        IList<ProcedureTmplt> GetProcedureTmplt(string procedureTmplt);
        IList<ProcedureTmplt> GetsProcedureTmplt();
        DataTable GetsProcedureTmplt(string SPName, DbParameter[] param);
        bool InsertProcedureTmplt(ProcedureTmplt clsProcedureTmplt);
        int InsertProcedureTmpltReturnIdentity(ProcedureTmplt clsProcedureTmplt);
        string InsertProcedureTmpltReturnOutput(ProcedureTmplt clsProcedureTmplt);
        IList<ProcedureTmplt> ListProcedureTmplt(ProcedureTmplt clsProcedureTmplt);
        IList<ProcedureTmplt> ListProcedureTmplt(string procedureTmplt);
        bool UpdateProcedureTmplt(ProcedureTmplt clsProcedureTmplt);
        int UpdateProcedureTmplt(string SPName, DbParameter[] param);
    }
}

